/*
package com.heima.user.controller.v1;


import com.heima.model.common.constants.user.UserConstans;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.AuthDto;
import com.heima.user.apis.ApUserRealnameControllerApi;
import com.heima.user.service.ApUserRealnameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
*/
/*
认证用户控制层
 *//*

@RestController
@RequestMapping("/api/v1/auth")
public class ApUserRealnameController implements ApUserRealnameControllerApi {

    @Autowired
    private ApUserRealnameService userRealnameService;
    //查询用户认证列表
    @PostMapping("/list")
    @Override
    public ResponseResult loadUserList(@RequestBody AuthDto dto){
        return userRealnameService.loadUserList(dto);
    }
    //通过审核
    @PostMapping("/authPass")
    @Override
    public ResponseResult authPass(@RequestBody AuthDto dto) {
        return userRealnameService.updateStatusById(dto, UserConstans.PASS_AUTH);
    }
    //驳回审核
    @PostMapping("/authFail")
    @Override
    public ResponseResult authFail(@RequestBody AuthDto dto) {
        return userRealnameService.updateStatusById(dto, UserConstans.FAIL_AUTH);
    }
}*/
